<%--
  Created by IntelliJ IDEA.
  User: zzz
  Date: 2020/1/21
  Time: 15:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

</head>
<body>
<nav class="navbar">
    <div class="container-fluid">

        <div class="header-logo">
            <a href="${APP_PATH}/toManager">
                <img src="${APP_PATH}/assets/media/image/light-logo.png" alt="...">
                <span class="logo-text d-none d-lg-block">FANG</span>
            </a>
        </div>

        <div class="header-body">

            <form class="search">
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="Search ..."
                           aria-label="Recipient's username"
                           aria-describedby="button-addon2">
                    <div class="input-group-append">
                        <button class="btn" type="button" id="button-addon2">
                            <i class="fa fa-search"></i>
                        </button>
                    </div>
                </div>
            </form>
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a href="#" class="d-lg-none d-sm-block nav-link search-panel-open">
                        <i class="fa fa-search"></i>
                    </a>
                </li>

                <li class="nav-item dropdown">
                    <a href="#" data-toggle="dropdown">
                        <figure class="avatar avatar-sm avatar-state-success">
                            <img class="rounded-circle" src="${APP_PATH}/${sessionScope.admin.aface == null?"assets/media/image/avatar.jpg" : sessionScope.admin.aface}" alt="...">
                        </figure>
                    </a>
                    <div class="dropdown-menu dropdown-menu-right">
                        <a href="${APP_PATH}/toAdminInfo" class="dropdown-item">个人中心</a>
                        <a href="${APP_PATH}/toUpdateApass"  class="dropdown-item">修改密码</a>
                        <div class="dropdown-divider"></div>
                        <a href="${APP_PATH}/login/exit" class="text-danger dropdown-item">退出</a>
                    </div>
                </li>

            </ul>
        </div>

    </div>
</nav>
</body>
</html>
